<template>
  <div>公共跳转地址: {{ url }}</div>
  <div class="fixed bottom-0 left-0 right-0 pb-safe px-4">
    <wd-button custom-class="w-full" @click="goPagePolymerization(url)">点击跳转</wd-button>
  </div>
</template>
<script lang="ts" setup>
import { goPagePolymerization, isMiniProgram } from '@/utils/auth'



const options = ref({})
const url = ref('')
onLoad((options: any) => {
  options.value = options
  if (options.url) {
    url.value = options.url
  }
  console.log('打印***options', options)
})


onMounted(() => {
  const isMini = isMiniProgram()
  console.log('打印***uni', uni)
  const systemInfo = uni.getSystemInfoSync()
  console.log('打印***systemInfo', systemInfo)
})

</script>
